/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.equipment.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.equipment.entity.EleEquipmentLog;
import com.thinkgem.jeesite.modules.equipment.dao.EleEquipmentLogDao;

/**
 * 设备日志Service
 * @author unnamed
 * @version 2017-07-05
 */
@Service
@Transactional(readOnly = true)
public class EleEquipmentLogService extends CrudService<EleEquipmentLogDao, EleEquipmentLog> {

	public EleEquipmentLog get(String id) {
		return super.get(id);
	}
	
	public List<EleEquipmentLog> findList(EleEquipmentLog eleEquipmentLog) {
		return super.findList(eleEquipmentLog);
	}
	
	public Page<EleEquipmentLog> findPage(Page<EleEquipmentLog> page, EleEquipmentLog eleEquipmentLog) {
		return super.findPage(page, eleEquipmentLog);
	}
	
	@Transactional(readOnly = false)
	public void save(EleEquipmentLog eleEquipmentLog) {
		super.save(eleEquipmentLog);
	}
	
	@Transactional(readOnly = false)
	public void delete(EleEquipmentLog eleEquipmentLog) {
		super.delete(eleEquipmentLog);
	}
	
	public EleEquipmentLog findLogByPath(String path) {
		return dao.findLogByPath(path);
	}
	
}